//
//  ZoomImageView.h
//  ZKXSWeibo
//
//  Created by apple on 15/9/18.
//  Copyright (c) 2015年 zhukai. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZoomImageView;

@protocol ZoomImageViewDelegate <NSObject>

@optional
// 图片将要放大
- (void)imageWillZoomIn:(ZoomImageView *)imageView;

// 图片将要缩小
- (void)imageWillZoomOut:(ZoomImageView *)imageView;

// 图片已经放大
// 图片已经缩小

@end

@interface ZoomImageView : UIImageView <NSURLConnectionDataDelegate, NSURLConnectionDelegate, UIAlertViewDelegate>
{
    UIScrollView *_scrollView;      // 滑动视图
    UIImageView *_fullImageView;    // 全屏的大图
    
}

@property (nonatomic, weak) id<ZoomImageViewDelegate>delegate;

@property (nonatomic, copy) NSString *fullImageUrlString;

@property (nonatomic, assign) BOOL isGif;
@property (nonatomic, strong) UIImageView *iconView; // 显示是否是gif图片

@end
